<extend name="Public/base"/>

<block name="body">
	<div class="page-content">
		<div class="page-header">
			<h1>
				权限管理
				<small>
					<i class="icon-double-angle-right"></i>
					 权限列表
				</small>
			</h1>
		</div><!-- /.page-header -->

		<div class="row">
			<div class="col-xs-12">
				<div class="widget-header widget-header-blue widget-header-flat">
					<h4 class="lighter">添加权限</h4>
				</div>
				<div class="widget-body">
					<div class="widget-main">
					<form method="post" action="{:U('addAuthHandle')}" id="validation-form" class="form-horizontal" novalidate="novalidate">
						<div class="form-group">
							<label for="name" class="control-label col-xs-12 col-sm-3 no-padding-right">权限路径:</label>

							<div class="col-xs-12 col-sm-9">
								<div class="clearfix">
									<input type="text" class="col-xs-12 col-sm-4" id="name" name="name">
								</div>
							</div>
						</div>

						<div class="space-2"></div>

						<div class="form-group">
							<label for="title" class="control-label col-xs-12 col-sm-3 no-padding-right">权限名称:</label>

							<div class="col-xs-12 col-sm-9">
								<div class="clearfix">
									<input type="text" class="col-xs-12 col-sm-4" id="title" name="title">
								</div>
							</div>
						</div>

						<div class="space-2"></div>

						<div class="form-group">
							<label for="condition" class="control-label col-xs-12 col-sm-3 no-padding-right">附加条件:</label>

							<div class="col-xs-12 col-sm-9">
								<div class="clearfix">
									<input type="text" class="col-xs-12 col-sm-4" id="condition" name="condition">
								</div>
							</div>
						</div>

						<div class="hr hr-dotted"></div>

						<div class="form-group">
							<label class="control-label col-xs-12 col-sm-3 no-padding-right">是否锁定用户:</label>

							<div class="col-xs-12 col-sm-9">
								<div>
									<label class="blue">
										<input type="radio" class="ace" value="1" name="status" checked="checked">
										<span class="lbl"> 开启</span>
									</label>
								</div>

								<div>
									<label class="blue">
										<input type="radio" class="ace" value="0" name="status">
										<span class="lbl"> 关闭</span>
									</label>
								</div>
							</div>
						</div>

						<div class="space-2"></div>

						<div class="form-group">
							<label for="platform" class="control-label col-xs-12 col-sm-3 no-padding-right">所属模块:</label>

							<div class="col-xs-12 col-sm-9">
								<div class="clearfix">
									<select name="modules" id="platform" class="input-medium">
										<option value="">------------------</option>
										<volist name="modules" id="vo">
											<option value="{$vo['id']}" >{$vo['moduleName']}</option>
										</volist>
									</select>
								</div>
							</div>
						</div>					
						
						<div class="row-fluid wizard-actions">
							<button data-last="Finish " class="btn btn-success btn-next">
								保存添加
							<i class="icon-arrow-right icon-on-right"></i></button>
						</div>
					</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	
</block>

<block name="bootscript">

</block>

<block name="script">

</block>